/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package klient;
import graphic.Graphic;
import java.util.Date;
/**
 *
 * @author Marcin
 */
public class Klient {
    public static MainFrame frame;
    public static long runT = new Date().getTime();
    
    public static UserState uS=new UserState();
    public static final long timeout=3000L;
    public static Graphic graph;
    public static Sender con=null;
    /**
     * @param args the command line arguments
     */
    public static void log(String msg){
        frame.log(msg+" | "+(System.currentTimeMillis()-1366838200000L));
    }
    
    public static void main(String[] args) {
        
          frame = new MainFrame();
          graph = new Graphic();
          try{
                graph.run();
          }catch(Exception e){
              e.printStackTrace();
          }
    }
}
